

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Feature Visibility [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Set,Set Feature Visibility,Display,Display Tagged Values, Inherited,Display Attributes, Inherited,Display Operations, Inherited,Display Constraints, Inherited,Display Requirements, Inherited,Feature Visibility,Feature Visibility Set,Feature Visibility Supress,Feature Visibility Customize,Feature Visibility Inherited,Feature Visibility Attributes,Feature Visibility Operations,Inherited Feature,Inherited Feature Show,Attribute,Attribute Show On Diagram,Attribute Inherited, Show,Operation,Operation Show On Diagram,Operation Inherited, Show,Tagged Value,Tagged Value Inherited, Show,Tagged Value Fully Qualified, Show,Requirement,Requirement Inherited, Show,Constraint,Constraint Inherited, Show,Fully Qualified Tagged Value,Fully Qualified Tagged Value Show In Element Compartment">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Feature Visibility</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="openapackage.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="addpropertiesnote.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">Enterprise Architect enables you to set the visibility of attributes and operations per Class or per diagram, or on a package diagram. For example, you can hide all protected attributes, all private operations or any other combination of attributes and operations. The visibility you set applies only to the current diagram, so a Class could appear in one diagram with all elements displayed, and in another with elements hidden.</span></p>
<p class="p_BodyText"><span class="f_BodyText">It is possible to show inherited attributes, operations, requirements, constraints and Tagged Values for elements that support those features. When Enterprise Architect displays inherited features, it creates a merged list from all generalized parents and from all realized interfaces. If a child Class redefines something found in a parent, the parent feature is omitted from the Merge List.</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Tip:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">To show features for element types that do not have visible compartments, such as Use Cases and Actors, right-click on the diagram object to display the context menu and select the </span><span class="f_MenuKeyField">Advanced Settings | Use Rectangle Notation</span><span class="f_TiporNoteText"> option.</span></p>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Customize Feature Visibility</span></p>
<p class="p_BodyText"><span class="f_BodyText">To customize feature visibility, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Either:</span></li>
</ol>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_Bulletlist3">Click on the element in the diagram and either click on the </span><span class="f_MenuKeyField">Element | Feature Visibility</span><span class="f_Bulletlist3"> menu option or press </span><span class="f_MenuKeyField">[Ctrl]</span><span class="f_Bulletlist3">+</span><span class="f_MenuKeyField">[Shift]</span><span class="f_Bulletlist3">+</span><span class="f_MenuKeyField">[Y]</span><span class="f_Bulletlist3">, or</span></li>
<li><span class="f_Bulletlist3">Right-click on the element in the diagram to display the context menu and click on the </span><span class="f_MenuKeyField">Feature Visibility</span><span class="f_Bulletlist3"> option.</span></li>
</ul>
<p class="p_Bulletlist3"><span class="f_Bulletlist3">The </span><span class="f_UIControl">Feature Visibility</span><span class="f_Bulletlist3"> dialog displays.</span><br>
<span class="f_Bulletlist3">&nbsp;</span><br>
<img src="setfeaturevisibility.png" width="530" height="410" border="0" alt="SetFeatureVisibility"><br>
<span class="f_Bulletlist3">&nbsp;</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=2><span class="f_NumberedList">Select the checkbox against each feature that should be visible and clear the checkbox against each of those that should not.</span></li>
<li value=3><span class="f_NumberedList">In the </span><span class="f_UIControl">Show Element Compartments</span><span class="f_NumberedList"> panel, select the compartments to display for the elements on the diagram.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList">The </span><span class="f_MenuKeyField">Fully Qualified Tags</span><span class="f_NumberedList"> checkbox enables you to display the full provenance of a Tagged Value, where the same Tagged Value can be used several times in different contexts with different values. The description in the Tagged Value compartment reads: </span><span class="f_NumberedList" style="font-style: italic;">&lt;Profile&gt;::&lt;Stereotype&gt;::&lt;Tagged Value name&gt;=&lt;Value&gt;</span><span class="f_NumberedList">, for example: </span><span class="f_NumberedList" style="font-style: italic;">BPMN::Activity::Activity Type = Task.</span><span class="f_NumberedList"> </span><span class="f_NumberedList">(Only for Tagged Values created in Enterprise Architect release 7.1 or later.)</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList">If you select the </span><span class="f_MenuKeyField">Notes</span><span class="f_NumberedList"> checkbox, the Notes compartment on each element in the diagram displays the text that has been typed into the </span><span class="f_MenuKeyField">Notes</span><span class="f_NumberedList"> field of the </span><span class="f_UIControl">Element Properties</span><span class="f_NumberedList"> dialog. This checkbox also enables the </span><span class="f_MenuKeyField">maximum chars</span><span class="f_NumberedList"> field, which defaults to 1000 as the number of characters of notes text displayed. Overtype this value to display less text or more text.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList">The change only applies to the selected elements on the diagram, so you can display full notes for a selected element whilst the other elements on the diagram have no notes text.</span></li>
</ol>
<div style="text-align: left; text-indent: -21px; padding: 0px 0px 0px 0px; margin: 5px 0px 0px 48px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">If you have selected the </span><span class="f_MenuKeyField">Notes</span><span class="f_TiporNoteText"> checkbox, you can select the </span><span class="f_MenuKeyField">Render Formatted Notes</span><span class="f_TiporNoteText"> checkbox to display the text on the diagram, formatted using the </span><span class="f_UIControl"><a href="rich_text_notes_toolbar.htm">Rich Text Notes</a></span><span class="f_TiporNoteText"> toolbar.</span></p>
</td>
</tr>
</table>
</div>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=4><span class="f_NumberedList">In the </span><span class="f_UIControl">When Resizing Elements</span><span class="f_NumberedList"> panel, select the appropriate option for resizing the Class, object or table to prevent very wide diagram objects.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList">The selected option defaults to </span><span class="f_MenuKeyField">Resize to longest Feature</span><span class="f_NumberedList">, so that the minimum width for a diagram object is determined by its longest displayed attribute, method or other compartment value. If necessary, you can change the option to </span><span class="f_MenuKeyField">Wrap Features</span><span class="f_NumberedList"> (so that any longer features are wrapped onto multiple lines) or </span><span class="f_MenuKeyField">Truncate Features</span><span class="f_NumberedList"> (so that longer features are not displayed in full).</span></li>
<li value=5><span class="f_NumberedList">If required, in the </span><span class="f_UIControl">Inherited Features</span><span class="f_NumberedList"> panel, select one or both checkboxes to set whether Enterprise Architect should display inherited features as well as directly owned ones.</span></li>
<li value=6><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to save changes. </span><span class="f_TextIndentedL1">Enterprise Architect redraws the diagram with the appropriate level of feature visibility.</span></li>
</ol>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Suppress Features in Diagram</span></p>
<p class="p_BodyText"><span class="f_BodyText">Enterprise Architect enables you to set the visibility of attributes and operations - where shown - per diagram for a Class. You can hide attributes and operations by scope, or you can hide attributes and operations individually by clicking on the </span><span class="f_MenuKeyField">Custom</span><span class="f_BodyText"> button. The visibility you set applies only to the current diagram, so a Class can appear in one diagram with all elements displayed, and in another with elements hidden.</span></p>
<p class="p_TextIndentedL2"><img src="suppressfeatures.png" width="342" height="375" border="0" alt="SuppressFeatures"></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
